package day16_Runnable.Test_xxx;

import java.io.FileInputStream;
import java.io.InputStreamReader;

public class 个数 {
    public static void main(String[] args) throws Exception{
        InputStreamReader isr = new InputStreamReader(new FileInputStream("E:\\csw\\Demo\\a\\csw"));
        char[] chars = new char[1024];
        int i;
        while ((i=isr.read(chars))!=-1){
            i++;
            System.out.println(i);
        }
        isr.close();
    }
}
